home *** CD-ROM | disk | FTP | other *** search
- /*
- * XaAES - XaAES Ain't the AES
- *
- * A multitasking AES replacement for MiNT
- *
- */
-
- #include "XA_DEFS.H"
- #include "XA_TYPES.H"
- #include "XA_GLOBL.H"
-
- /*
- Client list handling
- */
-
- #if DYNAMIC_CLIENT_STRUCTURE
-
- #else
- XA_CLIENT *FirstClient(void)
- {
- XA_CLIENT *this;
-
- this=&clients[0];
- if (!this->clnt_pipe_rd)
- this=NextClient(this);
- return this;
- }
-
- XA_CLIENT *NextClient(XA_CLIENT *this)
- {
- do {
- this=(((XA_CLIENT*)(this)<&clients[MAX_PID-1]) ? (XA_CLIENT*)(this)+1 : NULL);
- } while((this)&&(!this->clnt_pipe_rd));
-
- return this;
- }
-
- #endif
-